﻿namespace Arms.Persistence.Modules.Products.Mappings
{
    using Arms.Domain.Modules.Products;
    using System.Data.Entity.ModelConfiguration;

    internal class ProductBaseMap<T> : EntityTypeConfiguration<T> where T : ProductBase
    {
        public ProductBaseMap()
            : base()
        {
            Property(x => x.Price).IsRequired();
        }
    }
}
